package com.yy.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PayController {

    @RequestMapping("/pay/{orderId}")
    public String pay(@PathVariable String orderId, Model model) {
        model.addAttribute("orderId", orderId);
        return "success";
    }
}
